package com.daiqee.vo;

/**
 * zTree 树节点结构
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午6:01:58
 * @package com.daiqee.vo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
public class ZTreeVO<T,CID,PID> {
	
	private T Obj; 			//对应的实体
	
	private CID cId;		//当前节点id
	
	private PID pId;		//父节点id

	private String name;	//节点显示的名称
	
	public ZTreeVO() {
		super();
	}

	
	public ZTreeVO(T obj, CID cId, PID pId, String name) {
		super();
		Obj = obj;
		this.cId = cId;
		this.pId = pId;
		this.name = name;
	}

	public T getObj() {
		return Obj;
	}

	public void setObj(T obj) {
		Obj = obj;
	}

	public CID getcId() {
		return cId;
	}

	public void setcId(CID cId) {
		this.cId = cId;
	}

	public PID getpId() {
		return pId;
	}

	public void setpId(PID pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
